﻿using System;
using System.Runtime.Serialization;

namespace Phatent.Model.Accounts
{
    [DataContract]
    public class UserModel:MBase
    {
        [DataMember]
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        public int ID { get; set; }
        [DataMember]
        [Model]
        public string UserName { get; set; }
        [DataMember]
        [Model(ConvertType = AttributeType.NotOutput)]
        public string Password { get; set; }
    }
}
